﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HomeData.BaseLibrary;
using System.Runtime.Serialization;

namespace HomeData.Objects.Finanzen
{
    [DataContract(Namespace = HomeData.BaseLibrary.Constants.Global.Namespace)]
    public class Bankkonto : BusinessObjectBase
    {
        public override string ToString()
        {
            return Constants.Finanzen.Bankkonto.BusinessObjectName;
        }

        [DataMember]
        public string Bankleitzahl
        {
            get;
            set;
        }

        [DataMember]
        public string Kontonummer
        {
            get;
            set;
        }

        [DataMember]
        public string Bankname
        {
            get;
            set;
        }

        [DataMember]
        public string Kontoname
        {
            get;
            set;
        }
    }
}
